package com.zxm.edu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 课程
 *
 * @author silencezheng
 * @date 2022/07/29
 * @since 2022-05-18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_course_record")
public class CourseRecord {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;
    private Integer courseId;
    private String money;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
